import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import ChatView from '../views/ChatView.vue'
import AiView from '../views/AiView.vue'
import Swiper from '../views/Swiper.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView,
    },
    {
      path: '/chat',
      name: 'chat',
      component: ChatView,
    },
    {
      path: '/swiper',
      name: 'swiper',
      component: Swiper,
    },
    {
      path: '/ai',
      name: 'ai',
      component: AiView,
    },
  ],
})

export default router
